package cn.fscode.code.generator.controller;

import cn.fscode.commons.core.response.Resp;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shenguangyang
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @PostMapping("/t01")
    public Resp<?> test01(@RequestParam("data") String data) {
        return Resp.ok(data);
    }
}
